package main

import (
	"tvmanagers/appconfig"
	"tvmanagers/models"
	"tvmanagers/router"
)

func main() {

	appconfig.Init() //加载配置
	models.Init()    //连接数据库

	r := router.Init()
	r.Run(":8000")
}
